package com.app.bimo.commonbusiness.eventdata;public class LightnessData {    private int lightness;    public LightnessData(int lightness) {        this.lightness = lightness;    }    public int getLightness() {        if (lightness > 255) {            lightness = 255;        }        if (lightness < 0) {            lightness = 0;        }        return lightness;    }    public void setLightness(int lightness) {        this.lightness = lightness;    }}